package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2021/12/23
 */
@ApiModel("登录密码修改入参")
@Data
public class SysPwdEditDTO implements Serializable {

    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码不能为空")
    private String password;


    @ApiModelProperty("旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPwd;


}
